package ooday05;

/**
 * @author Pxl
 * getter/setter的演示
 */
public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX(1909);
        p.setY(2022);
        System.out.println(p.getX()+","+p.getY());
    }
}
